package gwtroot.service;

import gwtroot.My.Vehicle;

import com.google.web.bindery.requestfactory.shared.Locator;

public class VehicleService extends Locator<Vehicle, Long> {

	public Vehicle create(Class<? extends Vehicle> clazz) {
		return null;
	}

	public Long getId(Vehicle domainObject) {
		return domainObject.getId();
	}

	public Vehicle find(Class<? extends Vehicle> clazz, Long id) {
		return null;
	}

	public Object getVersion(Vehicle domainObject) {
		return domainObject.getVersion();
	}

	public Class<Vehicle> getDomainType() {
		return Vehicle.class;
	}

	public Class<Long> getIdType() {
		return Long.class;
	}

}
